<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<h1>主页</h1>
<div class="row">
<div class="col-md-4 col-md-offset-3">
<p th:unless="${session.loginUser}">
    <a th:href="@{/login}">登录</a>
</div>
</div>
</p>
<div class="row">
    <div class="col-md-4 col-md-offset-3">
<p th:if="${session.loginUser}">
    <a th:href="@{/loginout}">注销</a>
</p>
    </div>
</div>
<a th:href="@{/user/normal}">普通用户</a>
<a th:href="@{/user/vip}">VIP用户</a>
<a th:href="@{/user/admin}">后台管理员</a>

</body>
</html>